"; echo ""; ?> "; echo "
";
echo "You are not logged in
";
echo "Or Your session has been expired
";
echo "Login";
echo "
";
echo "
";
echo "You are Banned
";
$banto = mysql_fetch_array(mysql_query("SELECT timeto, pnreas, exid FROM ibwf_penalties WHERE uid='".$uid."' AND penalty='1' OR uid='".$uid."' AND penalty='2'"));
$banres = mysql_fetch_array(mysql_query("SELECT lastpnreas FROM ibwf_users WHERE id='".$uid."'"));
$remain = $banto[0]- time();
$rmsg = gettimemsg($remain);
echo "Time Left: $rmsg
";
$nick = getnick_uid($banto[2]);
echo "By: $nick
";
echo "Reason: $banto[1]";
//echo "Login";
echo "
";
echo "
";
addonline(getuid_sid($sid),"Chatting to ChatGirl","");
if ($input!="")
{
$sendData = "botid=".$botid."&input=".urlencode($input)."&custid=".$custid;
// Send the request to Pandorabot
$result = PostToHost($hostname, $hostpath, $sendData);
//TODO: Process the returned XML as an XML document instead of a big string.
// Use string manipulations to pull out the 'custid' and 'that' values.
$pos = strpos($result, "custid=\"");
// Extract the custid
if ($pos === false) {
$custid = "";
} else {
$pos += 8;
$endpos = strpos($result, "\"", $pos);
$custid = substr($result, $pos, $endpos - $pos);
}
// Extrat
$nick: $input
";
echo "Chat Bot: $hers
";
echo "
";
}else{
echo "Hello, now you can chat with our chatbot
her name is BRITTNEY, have fun
";
echo "
";
}
echo "
0
Home
";
echo "